package com.example.commonmistak.designpatterns.reflection.anno;

import java.lang.annotation.*;

/**
 * 字段注解, 定义参数的顺序, 长度, 类型
 * @author xiongwei
 * @date 2022/1/19 14:08
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
@Documented
@Inherited
public @interface BankApiField {
    int order() default -1;
    int length() default -1;
    String type() default "";
}
